package tests;

import businessdelegate.BusinessDelegate;

import com.thoughtworks.xstream.XStream;

public class TestGenerarFactura {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String xml = 

		"<Venta>" +
		"  <Cliente>" +
		"    <id>1</id>" +
		"  </Cliente>" +
		"  <listaItemVenta>" +
		"    <Item>" +
		"      <codigo>11</codigo>" +
		"      <cantidad>1</cantidad>" +
		"      <caracteristicas>1</caracteristicas>" +
		"      <marca>1</marca>" +
		"      <origen>1</origen>" +
		"      <idCotizacion>5</idCotizacion>" +
		"    </Item>" +
		"  </listaItemVenta>" +
 		"</Venta>";			
		
		
		BusinessDelegate businessDelegate = new BusinessDelegate();
		businessDelegate.enviarRemitoComoCC(xml);
	}

}
